﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BestPrice.Common
{
    public class Formatter : BaseEntity
    {
        private int _WebSiteID;
        public int WebSiteID
        {
            get { return _WebSiteID; }
            set { _WebSiteID = value; }
        }

        private String _WebSitePattern;
        public String WebSitePattern
        {
            get { return _WebSitePattern; }
            set { _WebSitePattern = value; }
        }

        private String _BeginBaseURL;
        public String BeginBaseURL
        {
            get { return _BeginBaseURL; }
            set { _BeginBaseURL = value; }
        }
        private String _EndBaseURL;
        public String EndBaseURL
        {
            get { return _EndBaseURL; }
            set { _EndBaseURL = value; }
        }

        private String _BeginImage;
        public String BeginImage
        {
            get { return _BeginImage; }
            set { _BeginImage = value; }
        }
        private String _EndImage;
        public String EndImage
        {
            get { return _EndImage; }
            set { _EndImage = value; }
        }

        private String _BeginTitle;
        public String BeginTitle
        {
            get { return _BeginTitle; }
            set { _BeginTitle = value; }
        }
        private String _EndTitle;
        public String EndTitle
        {
            get { return _EndTitle; }
            set { _EndTitle = value; }
        }

        private String _BeginDetail;
        public String BeginDetail
        {
            get { return _BeginDetail; }
            set { _BeginDetail = value; }
        }
        private String _EndDetail;
        public String EndDetail
        {
            get { return _EndDetail; }
            set { _EndDetail = value; }
        }

        private String _BeginPrice;
        public String BeginPrice
        {
            get { return _BeginPrice; }
            set { _BeginPrice = value; }
        }
        private String _EndPrice;
        public String EndPrice
        {
            get { return _EndPrice; }
            set { _EndPrice = value; }
        }

        private String _Status;
        public String Status
        {
            get { return _Status; }
            set { _Status = value; }
        }

#if !NETFX_CORE
        public FormatterKey Key
        {
            get
            {
                return new FormatterKey(_WebSiteID);
            }
        }
#endif
    }
}
